﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI.Docking;

namespace ClassLibrary1
{
    public partial class Form1 : DockContent
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            Decimal dtTemp = Convert.ToDecimal(this.textBox1.Text);
            MoneyConvertChineseEx mcc = new MoneyConvertChineseEx();
            this.textBox2.Text = mcc.MoneyToChinese(dtTemp.ToString(), true);
        }
    }
}
